package it721.net.helloservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.PropertySource;
import org.springframework.context.annotation.PropertySources;

@SpringBootApplication
@EnableDiscoveryClient
@PropertySource("file:///workshop/study/spring-cloud-demo/hello-service/src/main/resources/book.properties")
/*@PropertySources({
        @PropertySource("file:///workshop/study/spring-cloud-demo/hello-service/src/main/resources/book.properties"),
        @PropertySource("file:///workshop/study/spring-cloud-demo/hello-service/src/main/resources/phone.yml")
})*/
public class HelloServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(HelloServiceApplication.class, args);
    }
}
